var taskIdentityServiceApp = angular.module("taskIdentityServiceApp", [ "commonApp" ]);

taskIdentityServiceApp.service("taskIdentityService", [
		"commonService",
		function(commonService) {
			this.add = function(params, sback, eback) {
				commonService.call("tsp/taskIdentity/add", params, sback, eback);
			}
			
			this.remove = function(params, sback, eback) {
				commonService.call("tsp/taskIdentity/delete", params, sback, eback);
			}
			
			this.update = function(params, sback, eback) {
				commonService.call("tsp/taskIdentity/update", params, sback, eback);
			}
			
			this.query = function(params, sback, eback) {
				commonService.call("tsp/taskIdentity/query", params, sback, eback);
			}
			
			this.queryPage = function(params, sback, eback) {
				commonService.call("tsp/taskIdentity/queryPage", params, sback, eback);
			}
		}
]);